package com.itheima.pojo;

public class PurchaseHistory {
    // id 主键
    private Integer id;
    // 商品id
    private Integer itemId;
    // 买家id
    private Integer buyerId;
    // 卖家id
    private Integer sellerId;

    public PurchaseHistory() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getItemId() {
        return itemId;
    }

    public void setItemId(Integer itemId) {
        this.itemId = itemId;
    }

    public Integer getBuyerId() {
        return buyerId;
    }

    public void setBuyerId(Integer buyerId) {
        this.buyerId = buyerId;
    }

    public Integer getSellerId() {
        return sellerId;
    }

    public void setSellerId(Integer sellerId) {
        this.sellerId = sellerId;
    }

    @Override
    public String toString() {
        return "PurchaseHistory{" +
                "id=" + id +
                ", itemId=" + itemId +
                ", buyerId=" + buyerId +
                ", sellerId=" + sellerId +
                '}';
    }
}
